package com.ls.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("admin")
public class Admin {
    private Integer id;
    private String adminName;
    private String adminPassword;
}

/*
      -- id 主键
      id           int(5) COLLATE utf8_bin NOT NULL auto_increment COMMENT '主键',
      -- 管理员名称
      admin_name   varchar(8) COLLATE utf8_bin NOT NULL UNIQUE COMMENT '用户名',
      -- 管理员密码
      admin_password varchar(12) COLLATE utf8_bin NOT NULL COMMENT '密码',
 */
